﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddEmployeeLeaves.aspx.cs"
Inherits="Actuals.AddEmployeeLeaves" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="headl1" runat="server">
    <link href="~/Actuals.css" rel="Stylesheet" type="text/css" />
    <link href="~/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <title>Add Employee Leaves</title>
    <script type="text/javascript" src="<%=ResolveUrl("~/Scripts/jquery.js") %>"></script>
    <script type="text/javascript" src="<%=ResolveUrl("~/Scripts/jquery.ui.datepicker.js") %>"></script>
    <script type="text/javascript" src="<%=ResolveUrl("~/Scripts/jquery.ui.core.js") %>"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            $("#<%=txtFromDate.ClientID %>").datepicker({ dateFormat: 'dd-mm-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });
            $("#<%=txtToDate.ClientID %>").datepicker({ dateFormat: 'dd-mm-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divAddEmployeeLeaves" runat="server">
        <center>
            <asp:Label ID="lbl1" runat="server">AddEmployeeLeaves</asp:Label>
            <asp:Label ID="lblMsg" runat="server" CssClass="message"></asp:Label>
            <table style="height: 148px; width: 288px">
                <tr>
                    <td>
                        <asp:Label ID="lblEmployee" runat="server" CssClass="label">Employee</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlEmployee" runat="server" CssClass="textfield">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblLeaveType" runat="server" CssClass="label">LeaveType</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlLeaveType" runat="server" CssClass="textfield">
                            <asp:ListItem Value="M">Medical LeaveC</asp:ListItem>
                            <asp:ListItem Value="V">Vacation</asp:ListItem>
                            <asp:ListItem Value="O">Others</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="LblFromDate" runat="server" CssClass="label">FromDate</asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtFromDate" runat="server" CssClass="textfield"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RadioButton ID="rdbtnAm" runat="server" Text="AM" TextAlign="Right" CssClass="RadioButton"
                            GroupName="GroupName1" />
                    </td>
                    <td>
                        <asp:RadioButton ID="rdbtnPm" runat="server" Text="PM" TextAlign="Right" CssClass="RadioButton"
                            GroupName="GroupName1" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="LblToDate" runat="server" CssClass="label">ToDate</asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtToDate" runat="server" CssClass="textfield"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RadioButton ID="rdbtnam1" runat="server" Text="AM" TextAlign="Right" CssClass="RadioButton"
                            GroupName="GroupName2" />
                    </td>
                    <td>
                        <asp:RadioButton ID="rdbtnpm1" runat="server" Text="PM" TextAlign="Right" CssClass="RadioButton"
                            GroupName="GroupName2" />
                    </td>
                </tr>
            </table>
            <div>
                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click"/>
                <asp:Button ID="btnClose" runat="server" Text="Close" />
            </div>
        </center>
    </div>
    </form>
</body>
</html>
